package io.framework.modules.station.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 
 *
 * @author Gujq email
 * @since 1.0.0 2020-05-20
 */
@Data
@ApiModel(value = "")
public class StationDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	private Long id;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "地址")
	private String adress;

	@ApiModelProperty(value = "编码")
	private String code;

	@ApiModelProperty(value = "类型 1 空气 2水 3土壤 4噪声")
	private Integer type;

	@ApiModelProperty(value = "是否禁用  1正常 2禁用")
	private Integer status;

	@ApiModelProperty(value = "1-国控 2-全市")
	private Integer control;

	@ApiModelProperty(value = "经度")
	private BigDecimal x;

	@ApiModelProperty(value = "纬度")
	private BigDecimal y;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date createDate;

	@ApiModelProperty(value = "等级")
	private String level;

	@ApiModelProperty(value = "达标情况")
	private String pass;

	@ApiModelProperty(value = "类型 优、良...")
	private String classify;

	@ApiModelProperty(value = "1-自动站 2-手动站 3-未知")
	private Integer stationType;
}